home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
EMTITLE.422
< prev
next >
Wrap
Text File
|
1993-02-20
|
1KB
|
43 lines
Titles for email, v422
Johnboy #1 @19906
Wed. February 17, 1993 @ 1:48 am
JT3.mod
Disclaimer: The usuall, "It ain't my fault!"
Ver: v422
This mod places a second line below the user & system line in
the void readmail() function.
This is an update from the one I wrote for v421A, and is much
simpler. The pl(s4); call at the end which prints the title to
screen, can be changed to: prt(4,s4); nl();
to add color to your printout.
Legend: = (Existing code)
+ (Add this line)
First, load up MSGBASE1.C, and drop down to VOID READMAIL(),
Next, add the variable s4[81] to the char declarations.
then down around line 1095, you will find the following code where
you can ad the two lines.
= sprintf(s1,"%s #%u @%u (%s)",
= net_networks[nn].name,m.fromuser,m.fromsys,ss1);
= else
= sprintf(s1,"%s %u @%u (%s)",get_string(658),
m.fromuser,m.fromsys,ss1);
= }
= strcat(s,s1);
= }
+ sprintf(s4,"%s %s",get_string(326),m.title);
= }
= pl(s);
+ pl(s4);
= }
= nl();
= helpl=10;
That's it! Recompile and you will have titles in the email
portion of the board.
Johnboy!
1@19906 WWIVLINK/9906 WWIVNET/9906 ICENET